tools/perf: Fix build without libbfd
authorBen Hutchings <benh@debian.org>
Tue, 5 Jul 2022 16:02:28 +0000 (18:02 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 24 Sep 2022 11:05:59 +0000 (12:05 +0100)
commitc2ba5921d3af963611bd98fd20c3fb126c2bb507
tree94c5d7fc9366a6d02009b797cf51a641a5bfe99e
parent8ead35bc96b7953f16e2b33dbcd4cbc2451f124c
tools/perf: Fix build without libbfd

Only include <tools/dis-asm-compat.h> if we are using libbfd.

Signed-off-by: Ben Hutchings <benh@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-perf-fix-build-without-libbfd.patch
tools/perf/util/annotate.c